//
//  DKLoginViewController.m
//  DanKU
//
//  Created by 吴斌 on 2023/9/19.
//

#import "DKLoginViewController.h"
#import "DKLoginRegisterNameView.h"
@interface DKLoginViewController ()

@end

@implementation DKLoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = UIColor.whiteColor;
    // Do any additional setup after loading the view.
    [self dk_creatView];
}
- (void)dk_creatView{
    //log名称
    DKLoginRegisterNameView *loginRegisterNameView = [[DKLoginRegisterNameView alloc] init];
    [self.view addSubview:loginRegisterNameView];
    [loginRegisterNameView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.equalTo(@(DK_IsWidthScale(0)));
        make.top.equalTo(@(DK_IsWidthScale(76)+DK_SafeAreaTop));
        make.height.equalTo(@(DK_IsWidthScale(40)));
    }];
    //注册提醒
    UILabel *dk_RegisterAlertLab = [[UILabel alloc] init];
    dk_RegisterAlertLab.textColor = DK_Hex(@"#333333");
    dk_RegisterAlertLab.font = DK_FONT_Medium(17);
    dk_RegisterAlertLab.text = @"Register with mobile";
    [self.view addSubview:dk_RegisterAlertLab];
    [dk_RegisterAlertLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(@(DK_IsWidthScale(30)));
        make.height.equalTo(@(DK_IsWidthScale(24)));
        make.top.equalTo(loginRegisterNameView.mas_bottom).offset(DK_IsWidthScale(30));
    }];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
